package com.mine.service;


import com.mine.pojo.MineGoods;
import com.mine.pojo.MineGoodsCategory;
import com.mine.result.Result;
import com.mine.vo.GoodsQueryVo;

public interface GoodsService {

	Result addGoods(String token, MineGoods goods);

	Result deleteGoods(String token, MineGoods goods);

	Result updateGoods(String token, MineGoods goods);

	Result getGoodsInfo(String token, MineGoods goods);

	Result addGoodsCategory(String token, MineGoodsCategory goodsCategory);

	Result updateGoodsCategory(String token, MineGoodsCategory goodsCategory);

	Result deleteGoodsCategory(String token, MineGoodsCategory goodsCategory);

	Result updateGoodsUnshelve(String token, MineGoods goods);

	Result getGoodsList(String token, int page, int rows);

	Result getGoodsByCategoryId(GoodsQueryVo queryVo);

	Result getGoodsAll(GoodsQueryVo goodsQueryVo);

	Result getGoodsAllCategory(Long shopId);

	Result getGoodsDetail(Long goodsId);

	Result getManagerAllCategory(String token);

}
